package org.genntii.smopenid.client;

import org.genntii.smcommon.result.Result;
import org.genntii.smdomain.entity.SteamPlayer;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;


@FeignClient("sm-steamPlayer")
public interface SteamPlayerClient {

    @GetMapping("/steam_player/{steamid}")
    Result<SteamPlayer> getSteamPlayerBySteamid(@PathVariable String  steamid);

}
